@layout("/common/_container.html"){
<style>.integralHeader{background:#6090b8;color:white;padding:5px 10px;}.integralContent{height:calc(100% - 77px);overflow:auto;padding:15px 20px;}.btnBox{background:#f1f1f1;position:fixed;bottom:0;width:100%;padding:5px 0;text-align:center;}.btnBox > button{margin:0;color:white;background:#6090b8;padding:5px 14px;}.btnBox > button:last-of-type{background:white;color:inherit;border:1px solid #999999}.frameBox{width:60%;height:28px;padding-left:5px;border:1px solid #cccccc;border-radius:3px;}</style>
<div class="integralMall" style="height: 100%">
    <input type="hidden" id="num" value="${num}">
    <input type="hidden" id="id" value="${pointRewordInfo.id}">
    <div class="integralHeader">商品详情编辑</div>
    <div class="integralContent">
        <div>
            <div id="avatar0PreId" class="uploader-list" style="display: flex;flex-wrap: wrap;">
                @for(item in info){
                    @if(item.mainFigure == '2'){
                        <div id="${item.id}" class="cp_img" style="width: 200px;height: 120px;padding: 8px 9px;border: 1px solid #DDDDDD;margin-right: 6px;">
                            <img class="imagePath" src="${item.imagePath}" alt="" style="width: 180px;height: 85px;">
                            <div class="cp_img_delete" style="text-align: center;">删除</div>
                        </div>
                    @}
                @}
            </div>
            <div style="margin: 10px 0;">
                <span>上传轮播图片：</span>
                <button id="avatar0BtnId" class="btn btn-default" type="button" style="padding: 4px 12px;">选择图片（必选）</button>
            </div>
        </div>
        <div>
            <div id="avatar1PreId" class="uploader-list" style="display: flex;flex-wrap: wrap;">
                @for(item in info){
                    @if(item.mainFigure == '0'){
                        <div id="${item.id}" class="cp_img" style="width: 200px;height: 120px;padding: 8px 9px;border: 1px solid #DDDDDD;margin-right: 6px;">
                            <img class="imagePath" src="${item.imagePath}" alt="" style="width: 180px;height: 85px;">
                            <div class="cp_img_delete" style="text-align: center;">删除</div>
                        </div>
                    @}
                @}
            </div>
            <div style="margin: 10px 0;">
                <span>上传详情图片：</span>
                <button id="avatar1BtnId" class="btn btn-default" type="button" style="padding: 4px 12px;">选择图片（必选）</button>
            </div>
        </div>
        <div>
            <div>详情描述</div>
            <div>
                <textarea name="describe" id="describe" style="width: 100%;height: 150px;">${pointRewordInfo.particulars}</textarea>
            </div>
        </div>
    </div>
    <div class="btnBox">
        <button type="button" class="btn" id="detailsSure">提交</button>
        <button type="button" class="btn" id="cancel">取消</button>
    </div>
</div>
<script src="${ctxPath}/static/modular/basicData/pointReword/pointReword_info.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/basicData/pointReword/pointRewordDetails.js?v=20200718"></script>
@}

